home *** CD-ROM | disk | FTP | other *** search
/ Young Minds / Young Minds Interactive CD-ROM.ISO / umoria / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-08-08  |  2.3 KB  |  72 lines

  1. /* Person to bother if something goes wrong */
  2. /* recompile files.c and misc2.c if these change */
  3. #define WIZARD    "Jim Wilson"
  4. /* Wizard password */
  5. #define PASSWD1 "Gandalf"
  6. /* God password, for debugging */
  7. #define PASSWD2 "Mithrandir"
  8. /* Wizard/God user id */
  9. #define UID 974
  10.  
  11. /* files used by moria, set these to valid pathnames */
  12. /* if you change these, you only have to recompile death.c and files.c */
  13. #define MORIA_HOU  "/usr/games/lib/moriadir/Moria_hours"
  14. #define MORIA_MOR  "/usr/games/lib/moriadir/Moria_news"
  15. #define MORIA_MAS  "/usr/games/lib/moriadir/Character"
  16. #define MORIA_TOP  "/usr/games/lib/moriadir/Highscores"
  17. #define MORIA_HLP  "/usr/games/lib/moriadir/Helpfile"
  18.  
  19. /* this sets the default user interface, ONE of the two must be defined */
  20. /* use the original key bindings, keypad for movement */
  21. /* if you change this, you only need to recompile main.c */
  22. #define KEY_BINDINGS ORIGINAL
  23. /* this uses a rogue-like key bindings, vi style movement */
  24. /* #define KEY_BINDINGS ROGUE_LIKE */
  25.  
  26. /* no system definitions are needed for 4.3BSD or SUN OS */
  27.  
  28. /* if you are compiling on an ultrix/4.2BSD/Dynix/etc. version of UNIX,
  29.    define this, not needed for SUNs */
  30. /* #define ultrix */
  31.  
  32. /* if you are compiling on a SYS V version of UNIX, define this */
  33. /* #define SYS_V */
  34.  
  35. /* if you are compiling on a SYS III version of UNIX, define this */
  36. /* #define SYS_III */
  37.  
  38. /* if the screen does not look right (it will be obvious) then you have a buggy
  39.    version of curses, and you must define this */
  40. /* this must be defined for Ultrix systems, and for most 4.2BSD systems
  41.    it is not needed for Dynix */
  42. /* only need to recompile io.c */
  43. /* #define BUGGY_CURSES */
  44.  
  45. /* define this is your machine does not have signed characters:
  46.    this is needed for IBM PC-RT, 3B1, 3B2, 3B20, and perhaps others */
  47. /* #define NO_SIGNED_CHARS
  48.  
  49. /* this will slow down the game a bit, and therefore make it use up a little
  50.    less cpu time, this enables sleep() code for the resting commands,
  51.    and for character rerolling */
  52. /* only need to recompile dungeon.c and create.c
  53. /* #define SLOW */
  54.  
  55. /* system dependent defines follow, you should not need to change anything
  56.    below */
  57.  
  58. /* substitute strchr for index on USG versions of UNIX */
  59. #ifdef SYS_V
  60. #define index strchr
  61. #endif
  62.  
  63. #ifdef SYS_III
  64. char *index();
  65. #endif
  66.  
  67. #if defined(SYS_III) || defined(SYS_V)
  68. #ifndef USG
  69. #define USG 
  70. #endif
  71. #endif
  72.